
#include <iostream>
#include <thread>
#include <mutex>
#include <string>

#include "NetMgr.h"
#include "AfSocket.h"
#include "EventLoopMgr.h"
bool fun()
{
	printf("#################### \n");
	return true;
}
int main()
{

	printf("over 0 1 \n");
	EventLoopMngr::GetInstance()->Init(1);
	EventLoopMngr::GetInstance()->m_oEventLoop.AddTimer(100, fun);
	printf("over 1 \n");
	getchar();
	std::cout << "Hello World!\n";
}
